package config

type HashConfig struct {
	AdminAccessTokenSalt                      string `json:"admin_access_token_salt"`
	AdminAccessTokenExpiresSeconds            int64  `json:"admin_access_token_expires_seconds"`
	AdminAccessTokenAutoRefreshAtLeastSeconds int64  `json:"admin_access_token_auto_refresh_at_least_seconds"`
}

func Hash() *HashConfig {
	return &HashConfig{
		AdminAccessTokenSalt:                      "AghijiaksuiadYui",
		AdminAccessTokenExpiresSeconds:            10800, // 最长3小时, 一般的上班中午休息时间大概是这个范围内
		AdminAccessTokenAutoRefreshAtLeastSeconds: 1000,
	}
}
